import React, { Component } from 'react'

export default class Child extends Component {
  state = {
    food: '汉堡包'
  }

  render () {
    return (
      <div>
        Child
        <p>今晚吃：{this.state.food}</p>
      </div>
    )
  }
}
